package com.example.lotterysystem.service.dto;

import lombok.Data;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Li_Xiaochi
 * Date: 2025/8/8
 * Time: 23:07
 */
@Data
public class PageListDTO<T> {
    /**
     * 数据总量
     */
    private Integer total;

    /**
     * 当前页列表
     */
    private List<T> records;

    public PageListDTO(Integer total, List<T> records) {
        this.total = total;
        this.records = records;
    }
}
